Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMGetFrameSize

Gets the coordinates of the frame.

OSStatus JMGetFrameSize (
                     JMFrameRef frame, 
                     Rect* result);
frame
The frame whose dimensions you want to determine.
result
A pointer to the frame coordinates. Upon return, this parameter holds the coordinates of the frame in pixels.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
Frames are described using a zero-based coordinate system with the top-left corner of the frame having the coordinates (0,0).

SEE ALSO
The JMSetFrameSize function (page 85).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997